package fox.framework.rpc.exception;

/**
 * @author cuichao
 * @Description: RpcDecodeWithProtocolException
 * @Date: create in 2021/2/19 16:14
 */
public class RpcDecodeWithProtocolException extends RpcRuntimeException {


    private String protocol;

    public RpcDecodeWithProtocolException(String protocol, String message) {
        super(message);
        this.protocol = protocol;
    }


    public String getProtocol(){
        return this.protocol;
    }

}
